package com.example.healkep.utils;

public class InformationUtils {
    public static String GetSex(String s) {
        String sexString;
        if (s.equals("男")) {
            sexString = "male";
        } else if (s.equals("女")) {
            sexString = "female";
        } else {
            sexString = "-1";
        }
        return sexString;
    }
    public static String ToshowSex(String s){
        String sexString;
        if (s.equals("male")) {
            sexString = "男";
        } else if (s.equals("female")) {
            sexString = "女";
        } else {
            sexString = "异常,请及时修改";
        }
        return sexString;
    }
}
